<p class="printer_hide" id="instruction">
Click this link to return to your work list: <%= link_to 'Back to work list', :action => 'list' %><br/>
Click this link to continue editing this application: <%= link_to 'Continue Editting', :action => 'edit', :id => @submission %>   


</p>

<% if current_user.is_admin? -%>
	<%= render :inline => @submission.cycle.admin_view, 
             :locals => {:@submission_data => @submission_data} %>  
<% elsif current_user.is_manager? -%>     
	<%= render :inline => @submission.cycle.manager_view, 
           	 :locals => {:@submission_data => @submission_data} %>  
<% elsif current_user.is_seeker? -%>     
	<%= render :inline => @submission.cycle.admin_view, 
           	 :locals => {:@submission_data => @submission_data} %>  
<% elsif current_user.is_judge? -%>     
	<%= render :inline => @submission.cycle.judge_view, 
           	 :locals => {:@submission_data => @submission_data} %>  
<% end %>     
<h6>Administrative Information</h6>
<div class="form_question">
<div class="form_element_label">Total Request</div> 
<div class="form_element"><div id='total_cost'><%=h sprintf("$ %0.2f", @submission.total_cost) %></div></div>                 
</div>

<br />                                             
<div class="printer_hide">
<%= link_to 'Print', "javascript:window.print()" %> |
<%= link_to 'Back', :action => 'list' %>   
</div>
           

<script type="text/javascript">
//<![CDATA[                  
Event.observe(window, 'load', window.print());
//]]>
</script>